package com.blockchain.console.service.common;

import java.math.BigDecimal;

import com.blockchain.console.service.common.entity.IndexCount;
import com.blockchain.framework.service.Service;

public interface IndexManage extends Service {

	/**
	 * 描述：查询用户是不是第一次登陆平台
	 * 
	 */
	public abstract boolean isOneLogin() throws Throwable;
	
	/**
	 * <dt>
	 * <dl>
	 * 描述： 后台首页管理
	 * </dl>
	 * </dt>
	 * 
	 * @return IndexCount 首页统计对象
	 * @throws Throwable
	 *             数据库异常
	 */
	public IndexCount getIndexCount() throws Throwable;
	
	//查btc总额
	public abstract BigDecimal getBtcTotal() throws Throwable;
	//查交易总额 t6018 f07 sum
	public abstract BigDecimal getTradeTotal() throws Throwable;
	//查文章总数
	public abstract BigDecimal getArticalTotal() throws Throwable;
	
}
